2004-10-04 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
+ * gtk/gtkwindow.c (gtk_window_set_icon_list):
+ (gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
2004-10-04 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
+ * gtk/gtkwindow.c (gtk_window_set_icon_list):
+ (gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
2004-10-04 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
+ * gtk/gtkwindow.c (gtk_window_set_icon_list):
+ (gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
2004-10-04 Matthias Clasen <mclasen@redhat.com>
- * gtk/gtkwindow.c (gtk_window_set_icon_list): Ref the new icons
+ * gtk/gtkwindow.c (gtk_window_set_icon_list):
+ (gtk_window_set_default_icon_list): Ref the new icons
before unreffing the old ones. (#154468, Morten Welinder)
2004-10-03 Matthias Clasen <mclasen@redhat.com>
*/
default_icon_serial++;
+ g_list_foreach (list,
+ (GFunc) g_object_ref, NULL);
+
g_list_foreach (default_icon_list,
(GFunc) g_object_unref, NULL);
g_list_free (default_icon_list);
default_icon_list = g_list_copy (list);
- g_list_foreach (default_icon_list,
- (GFunc) g_object_ref, NULL);
/* Update all toplevels */
toplevels = gtk_window_list_toplevels ();